<!-- /admin/template/system/code_list.htm :: 2010-02-23 :: hamhaja -->
<!-- 코드 목록 시작 ▼▼▼ -->
<table class="list">
<caption>[<?=$group_record['cg_pname']?>] - 코드 목록</caption>
<col width="7%" /><col width="10%" /><col width="10%" /><col width="23%" /><col width="18%" /><col width="18%" /><col width="6%" /><col width="6%" />
<tr>
	<th>#</th>
	<th>코드그룹</th>
	<th>코드</th>
	<th>코드명</th>
	<th>추가정보1</th>
	<th>추가정보2</th>
	<th colspan="2" width="12%">관리자툴</th>
</tr>
<?php if (count($code_list)) { ?>
	<?php foreach ($code_list as $k => $v) { ?>
	<tr class="list<?=$v['cd_display']?>" onmouseover="g_mouse_over(this);" onmouseout="g_mouse_out(this);">
		<td><?=$v['cd_sort']?></td>
		<td><?=$v['cd_cgcode']?></td>
		<td><?=$v['cd_code']?></td>
		<td><?=$v['cd_pname']?></td>
		<td><?=$v['cd_add1']?></td>
		<td><?=$v['cd_add2']?></td>
		<td><input class="full_button" type="button" value="수정" onclick="g_open(g_arg_url('<?=$g_job?>', 'update_form', '<?=$v['cd_cgcode']?>', '<?=$v['cd_code']?>'), 550, 350); return false;" /></td>
		<td><input class="full_button" type="button" value="삭제" onclick="g_goto_delete('<?=$g_job?>', 'delete', '<?=$v['cd_cgcode']?>', '<?=$v['cd_code']?>'); return false;" /></td>
	</tr>
	<?php } ?>
<?php } else { ?>
	<tr>
		<td class="empty" colspan="8">등록된 자료가 없습니다.</td>
	</tr>
<?php } ?>
</table>

<!-- 코드 목록 끝 ▲▲▲ -->

<br />

<!-- 코드 기능툴 시작 ▼▼▼ -->
<table class="list_util">
<col width="7%" /><col width="81%" /><col width="12%" />
<tr>
	<td><input type="button" class="full_button" value="뒤로" onclick="g_goto('config_codegrp'); return false;" /></td>
	<td>&nbsp;</td>
	<td><input type="button" class="full_button" value="코드추가" onclick="g_open(g_arg_url('<?=$g_job?>', 'insert_form', '<?=$group_id?>'), 550, 350); return false;" /></td>
</tr>
</table>
<!-- 코드 기능툴 끝 ▲▲▲ -->